
Imports storcore

Public Class roomserver
    Inherits storserver

    Protected Overrides Function serverport() As Int32
        Return config.parameter(Of Int32)(configNaming.storoom.name, configNaming.storoom.port, _
                                          configNaming.storoom.defaultValue.port)
    End Function

    Public Sub New()
        MyBase.New()
        slices = slicemgr
        server.maxConnCount = config.parameter(configNaming.storoom.name, _
                                               configNaming.storoom.connectionCount, _
                                               configNaming.storoom.defaultValue.connectionCount)
        server.holdtime = config.parameter(configNaming.storoom.name, _
                                           configNaming.storoom.receiveTalkHoldtime, _
                                           configNaming.storoom.defaultValue.receiveTalkHoldTime)
        server.livetime = config.parameter(configNaming.storoom.name, _
                                           configNaming.storoom.receiveTalkLivetime, _
                                           configNaming.storoom.defaultValue.receiveTalkLiveTime)
    End Sub
End Class
